package org.xfy.org.service;

import org.xfy.base.util.AjaxResult;
import org.xfy.org.domain.Logininfo;
import org.xfy.base.service.IBaseService;
import org.xfy.org.domain.dto.BindDto;
import org.xfy.org.domain.dto.LoginDto;
import org.xfy.sys.domain.dto.EmailUserRegisterDto;
import org.xfy.sys.domain.dto.PhoneUserRegisterDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xfy
 * @since 2023-10-31
 */
public interface ILogininfoService extends IBaseService<Logininfo> {
    //手机注册
    void register(PhoneUserRegisterDto registerDto, int i);
    //邮箱注册
    void emailregister(EmailUserRegisterDto registerDto, int i);
    //登陆
    AjaxResult login(LoginDto loginDto,Boolean b);

    AjaxResult bind(BindDto bindDto);
}
